package io.github.yotta.dict.dao.entity;

import io.github.yotta.common.api.model.Paging;
import io.github.yotta.dict.api.param.SysDictQueryParam;

import java.util.List;


/**
* @author yotta-generator
* @date 2025-08-11 10:12:20
* @description 系统字典表 - 数据访问层接口
*/
public interface SysDictDao {

    List<SysDict> list(SysDictQueryParam queryParam);

    Paging<SysDict> page(SysDictQueryParam queryParam);

    SysDict getById(String tenantId, String id);

    SysDict getByCode(String tenantId, String code);

    String add(SysDict sysDict);

    Boolean updateById(SysDict sysDict);

    Boolean deleteById(String tenantId, String id);

    List<String> listCategory(String tenantId);

}
